import Vue from 'vue';
import Router from 'vue-router';
import LogType from '@/components/LogType';
import RecentLog from '@/components/RecentLog';
import AllLog from '@/components/AllLog';
import TriggerManager from '@/components/TriggerManager';
import TriggerQuery from '@/components/TriggerQuery';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'LogType',
      component: LogType
    },
    {
      path: '/LogType',
      component: LogType
    },
    {
      path: '/RecentLog',
      name: 'RecentLog',
      component: RecentLog
    },
    {
      path: '/TriggerManager',
      name: 'TriggerManager',
      component: TriggerManager
    },
    {
      path: '/TriggerQuery',
      name: 'TriggerQuery',
      component: TriggerQuery
    },
    {
      path: '/AllLog/:isSimple',
      name: 'AllLog',
      component: AllLog
    }
  ]
});
